<?php
	/**
	 * Class to set purchase orders details attributes
	 */
	class OrderDetail {
		private $pkLine;
		private $units;
		private $quantity;
		private $unitCost;
		private $pkFkNumberOrder;
		private $pkFkControlNumberOrder;
		private $pkFkCodeProductInventory;
		private $pkFkRifBranchInventory;
		
		/**
		 * Constructor of the purchase order detail
		 */
		public function __construct($pkLine, $units, $quantity, $unitCost, $pkFkNumberOrder,
			$pkFkControlNumberOrder, $pkFkCodeProductInventory, $pkFkRifBranchInventory) {
			$this -> pkLine = $pkLine;
			$this -> units = $units;
			$this -> quantity = $quantity;
			$this -> unitCost = $unitCost;
			$this -> pkFkNumberOrder = $pkFkNumberOrder;
			$this -> pkFkControlNumberOrder = $pkFkControlNumberOrder;
			$this -> pkFkCodeProductInventory = $pkFkCodeProductInventory;
			$this -> pkFkRifBranchInventory = $pkFkRifBranchInventory;
		}
		
		/**
		 * Getter and setter for attribute $pkLine
		 */
		public function setPkLine($pkLine) {
			$this -> pkLine = $pkLine;	
		}
		
		public function getPkLine() {
			return $this -> pkLine;
		}
		
		/**
		 * Getter and setter for attribute $units
		 */
		public function setUnits($units) {
			$this -> units = $units;	
		}
		
		public function getUnits() {
			return $this -> units;
		}
		
		/**
		 * Getter and setter for attribute $quantity
		 */
		public function setQuantity($quantity) {
			$this -> quantity = $quantity;	
		}
		
		public function getQuantity() {
			return $this -> quantity;
		}
		
		/**
		 * Getter and setter for attribute $unitCost
		 */
		public function setUnitCost($unitCost) {
			$this -> unitCost = $unitCost;	
		}
		
		public function getUnitCost() {
			return $this -> unitCost;
		}
		
		/**
		 * Getter and setter for attribute $pkFkNumberPurchaseOrder
		 */
		public function setPkFkNumberOrder($pkFkNumberOrder) {
			$this -> pkFkNumberOrder = $pkFkNumberOrder;	
		}
		
		public function getPkFkNumberOrder() {
			return $this -> pkFkNumberOrder;
		}
		
		/**
		 * Getter and setter for attribute $pkFkControlNumberPurchaseOrder
		 */
		public function setPkFkControlNumberOrder($pkFkControlNumberOrder) {
			$this -> pkFkControlNumberOrder = $pkFkControlNumberOrder;	
		}
		
		public function getPkFkControlNumberOrder() {
			return $this -> pkFkControlNumberOrder;
		}
		
		/**
		 * Getter and setter for attribute $pkFkCodeProductInventory
		 */
		public function setPkFkCodeProductInventory($pkFkCodeProductInventory) {
			$this -> pkFkCodeProductInventory = $pkFkCodeProductInventory;	
		}
		
		public function getPkFkCodeProductInventory() {
			return $this -> pkFkCodeProductInventory;
		}
		
		/**
		 * Getter and setter for attribute $pkFkRifBranchInventory
		 */
		public function setPkFkRifBranchInventory($pkFkRifBranchInventory) {
			$this -> pkFkRifBranchInventory = $pkFkRifBranchInventory;	
		}
		
		public function getPkFkRifBranchInventory() {
			return $this -> pkFkRifBranchInventory;
		}
	}
?>